import jsCookie from 'js-cookie'

//存储cookie
export const setCookie = (key, value) => {
    jsCookie.set(key, value)
}

//获取cookie
export const getCookie = (key) => {
    return jsCookie.get(key)
}

//移除cookie
export const removeCookie = (key) => {
    jsCookie.remove(key)
}